import { createRouter,createWebHistory} from "vue-router";

const routes = [
    {
        path: "/",
        name: "Index",
        component:  () => import('../views/index/index.vue'),
    },
    {
        path: "/login",
        name: "login",
        component:  () => import('../views/login/log.vue'),

    },
    {
        path: "/loginSuc",
        name: "loginSuc",
        component: ()=> import('../views/login/logsuc.vue')
    }
];
const router = createRouter({
    history: createWebHistory(),
    routes
});
export default router;